package com.basic.business.order.domain;

import com.basic.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import com.basic.common.utils.uuid.ULID;

/**
 * 业务-订单日志对象 t_orders_log
 * 
 * @author zhaoxy_jn@163.com
 * @date 2025-04-24
 */
@Getter
@Setter
@ExcelIgnoreUnannotated
public class TOrdersLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 主系统订单号 */
    @ExcelProperty(value = "主系统订单号")
    private String mainSid;

    /** 系统订单号 */
    @ExcelProperty(value = "系统订单号")
    private String logSid;

    /** 日志内容 */
    @ExcelProperty(value = "日志内容")
    private String content;

    /** 操作用户id */
    @ExcelProperty(value = "操作用户id")
    private Long userId;

    /** 数据创建时间 */
    @ExcelProperty(value = "数据创建时间")
    private Long created;

    public TOrdersLog(){
        this.id = ULID.getId();
        this.created = System.currentTimeMillis();
    }
}
